<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style type="text/css">
   ul li {list-style-type: none;}
</style>
</head>
<body>
<h1>The Goods Update Page</h1>
<form th:action="@{/goods/doUpdateGoods}" method="post" th:object="${goods}">
   <!-- input的type为hidden时,页面上不显示 -->
    <input type="hidden" name="id" th:value="*{id}">
   <ul>
      <li>name:
      <li><input type="text" name="name" th:value="*{name}">
      <li>remark:
      <li><textarea rows="5" cols="50" name="remark" th:text="*{remark}"></textarea>
      <li><input type="submit" value="Update">
   </ul>
</form>
</body>
</html>